package com.xncoding.trans.entity;

import java.io.Serializable;

public class Menu extends baseDAO implements Serializable {
	String id;
	String code;
	String name;
	Long parentId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return "Menu{" +
				"id=" + id +
				", code='" + code + '\'' +
				", name='" + name + '\'' +
				", parentId=" + parentId +
				'}';
	}
}
